<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/TopGay/image/logomain_s.png" rel="shortcut icon">
<title>관리자 로그인</title>
<link rel="stylesheet" href="/${initParam.context_root }/css/bootstrap.min.css">
<link rel="stylesheet" href="/${initParam.context_root }/css/signin.css">
<link href="/${initParam.context_root }/css/signin.css" rel="stylesheet">
<script type="text/javascript" src="//script/jquery.js"></script>
<script type="text/javascript">
	function checkForm(form){
		if(!form.id.value){
			form.id.focus();
			return false;
		} else if(!form.password.value){
			form.password.focus();
			return false;
		}
	}
</script>
</head>
<body>
	<div class="container">
		<form class="form-signin" action="/${initParam.context_root }/admin/login.do" method="post" onsubmit="return checkForm(this);">
				<h3 class="form-signin-heading">관리자 로그인</h3>
				<input class="form-control" type="text" name="id" autofocus="" placeholder="ID">
				<input class="form-control" type="password" name="password" placeholder="Password">
			<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
		</form>
		<%-- <c:if test="${requestScope.error_msg != null }">
			<font color="red" size="2">${requestScope.error_msg }</font>
		</c:if> --%>
	</div>
</body>
</html>